import React from 'react';
import { connect } from 'umi';
import logo from '../logo/logo.png';
import './index.less';
function index(props: any) {
  return (
    <div>
      <div className="bd1">
        <img src={logo} alt="" />
        <div className="bdson1">
          <div>
            <div>
              <h2>餐掌柜育新店</h2>
              <h3>A1</h3>
            </div>
            <img src={logo} alt="" />
          </div>
        </div>
      </div>
      <div className="bd2">{props.children}</div>
    </div>
  );
}
export default connect((state) => {
  return {
    // @ts-ignore
    shopslist: state.index.shopslist,
  };
})(index);
